$(document).ready(function () {
    $("#message-drawer #close1").click(function () {
        $("#message-drawer").css({top: "-60px"});
    });
});
$(document).ready(function () {
    $("#eamil-message #close2").click(function () {
        $("#eamil-message").css({top: "-60px"});
    });
});
$(document).ready(function () {
    $("#email-error #close3").click(function () {
        $("#email-error").css({top: "-60px"});
    });
});
/*
 $(function(){
 $(":input[name='email']").blur(function(){
 var email=$(this).val();
 var reg=/\w+[@]{1}\w+[.]\w+/;
 if(reg.test(email)){
 $("input[name='email']").css("box-shadow","inset 0 1px 0 #eee,#fff 0 1px 0");
 var etop = $("#email-error").position().top;
 if(etop == "0"){$("#email-error").css("top","-60px"); }
 }else{
 $("input[name='email']").css("box-shadow","0 0 4px 4px red,0 0 2px 1px black");
 $("#email-error").css("top","0px");
 }
 });
 });*/